package ui.activity.order.contract;


import java.util.List;

import Bean.OrderBean;
import base.BaseInfoView;
import base.BasePresenter;

/**
 * Created by chenjian on 19/2/26
 * 1
 */

public interface OrderContract {

    interface View extends BaseInfoView {

        void loadMoreComplete();

        void hasLoadMore(boolean b);

        void refreshComplete();

        void upDateUI(List<OrderBean.DataBean.ItemsBean> bean);

    }

    interface Presenter extends BasePresenter {

        void getOrderList(final boolean isRefresh, String customId, String flag, String isPay);

        void toPay(String orderId);

        void cancleOrder(int orderId, String customId, String flag, String isPay);

        void checkLogistics(String orderId);

        void confirmOrder(String orderId, String customId, String flag, String isPay);

        void checkDetails(String orderId);

    }
}
